package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.vo.TimeCountVo;

import java.util.List;

/**
 * 预约信息Service接口
 * 
 * @author ruoyi
 * @date 2024-06-07
 */
public interface IReservationService extends IService<Reservation>
{

    void updateReservationStatus();

    Integer cancelreservationCount();

    List<TimeCountVo>  reservationCount();

    void saveReservation(ReservationDto dto);

    List<Reservation> pageList(Integer status);

    void cancelReservation(Long id);
}
